﻿using System.Collections.Generic;

namespace Leo.Core.Abp.Client.Contracts
{
    /// <summary>
    ///     通用列表对象转成树对象时使用
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class TreeItem<T>
    {
        public T Item { get; set; }
        public IEnumerable<TreeItem<T>> Children { get; set; }
    }
}
